﻿<Window x:Class="Docking.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="480" Width="640">
    <StackPanel>
        <DockPanel Height="400">
            <StackPanel Name="leftPanel" DockPanel.Dock="Left" Orientation="Vertical"></StackPanel>
            <StackPanel Name="rightPanel" DockPanel.Dock="Right" Orientation="Vertical"></StackPanel>
            <StackPanel Name="topPanel" DockPanel.Dock="Top" Orientation="Horizontal"></StackPanel>
            <StackPanel Name="bottomPanel" DockPanel.Dock="Bottom" Orientation="Horizontal"></StackPanel>
        </DockPanel>
        <Button Content="Add" Click="Button_Click"></Button>
    </StackPanel>
</Window>
